package com.qf.shop.service;

import com.qf.shop.entity.OrderAddress;
import com.qf.shop.entity.Orders;
import com.qf.shop.entity.Pay;
import com.qf.shop.model.TableData;
import com.qf.shop.pojo.QueryOrder;
import com.qf.shop.pojo.QueryPay;
import com.qf.shop.vo.OrdAddreeSon;
import com.qf.shop.vo.ChooseAddress;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IOrdersService {
    TableData<Orders> getAllOrders(QueryOrder queryOrder, Integer offset, Integer limit);

    Orders getOrderUserById(Integer id);

    List<OrdAddreeSon> showTakeDeliveryAddress(Integer id);


//   List<OrderAddress> showTakeDeliveryAddress(Integer id);

    List<ChooseAddress> getChooseAddress(Integer id);

    void changeAddress(Integer aid,Integer uid);
}
